SimdSet.opBinaryRight

  1. bool contains(T item)
  2. bool opBinaryRight(T item)
    struct SimdSet(T, Allocator = Mallocator)
    const pure nothrow @nogc @safe
    bool
    opBinaryRight
    (
    string op
    )
    ()
    if (
    op == "in"
    )
    if (
    T.sizeof == 1 ||
    T.sizeof == 2
    ||
    T.sizeof == 4
    ||
    T.sizeof == 8
    )

Parameters

item T

the item to check

Return Value

Type: bool

true if the set contains the given item

Meta